﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SharedKernel.Infrastructure.Comm
{
    /// <summary>
    /// 用户登录信息类
    /// </summary>
    public class UserContext : IUserContext
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public long? UserId { get; set; }
    }

    /// <summary>
    /// 用户登录信息接口
    /// </summary>
    public interface IUserContext
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public long? UserId { get; set; }
    }
}
